* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    background: linear-gradient(to bottom, #2b5876, #09203f);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading {
    width: 200px;
    height: 200px;
    box-sizing: border-box;
    border-radius: 50%;
    border-top: 10px solid #63a69f;
    position: relative;
    // 执行动画（动画）
    animation: a1 2s linear infinite;
    &::before,
    &::after {
        content: '';
        width: 200px;
        height: 200px;
        position: absolute;
        left: 0;
        top: -10px;
        box-sizing: border-box;
        border-radius: 50%;
    }
    &::before {
        border-top: 10px solid #f2e1ac;
        transform: rotate(120deg);
    }
    &::after {
        border-top: 10px solid #f2836b;
        transform: rotate(240deg);
    }
    span {
        position: absolute;
        width: 200px;
        height: 200px;
        line-height: 200px;
        text-align: center;
        color: #fff;
        animation: a2 2s linear infinite;
    }
}

@keyframes a1 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes a2 {
    to {
        transform: rotate(-360deg);
    }
}
